package se.webbzon.boltzmann.camera;

import se.webbzon.oschi01.worldeditor.WorldObjectDeflation;
import se.webbzon.oschi01.worldeditor.WorldObjectInflator;
import se.webbzon.oschi01.worldobject.WorldObject;

public class FixedCameraInflator extends WorldObjectInflator {

	/*============================================================
	Constructors
	============================================================*/
	
	public FixedCameraInflator() {
		super(FixedCamera.worldObjectName);
	}
	
	/*============================================================
	Public Methods
	============================================================*/

	@Override public WorldObject makeWorldObject(WorldObjectDeflation deflation) {
		return ((FixedCameraDeflation) deflation).makeCamera();
	}

	@Override public WorldObjectDeflation makeDeflation(int deflationProperties, WorldObject[] dependencies) {
		return new FixedCameraDeflation(deflationProperties,dependencies);
	}

}
